package com.huichaoliu.stylist.activity;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.TextView;

import com.huichaoliu.app.R;
import com.rederxu.farmer.BaseActivity;

public class StylistToBeActivity extends BaseActivity{
	//tools
	Context context;
	
	//views
	WebView web;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.stylist_how_to_be_layout);
		super.onCreate(savedInstanceState);
	}

	@Override
	public void init() {
		context = this;
		
		findViewById(R.id.stylist_back).setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				finish();
			}
		});
		((TextView)findViewById(R.id.stylist_name)).setText("如何成为搭配师");		
		
		web = (WebView) findViewById(R.id.stylist_how_to_be_web);
		web.loadUrl("https://wap.koudaitong.com/v2/showcase/mpnews?alias=11hzyct0");
	}

	@Override
	public void initData() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onNetworkChanged(boolean isMobNetConnected,
			boolean isWifiConnected) {
		// TODO Auto-generated method stub
		
	}

}
